/**
 * 
 */
package org.istt.service;

import java.util.Date;
import java.util.List;

import org.istt.domain.Category;

/**
 * @author Huy
 *
 */
public interface CategoryManager extends Manager<Category, Long> {
	List<Category> getByFieldId(Long fieldId);
	List<Category> getByDepartmentId(Long deptID);
	
	List<Category> getByAllowSubmitOnline();
	
	List<Object[]> statisticsCategory (Long fieldId, Long userId, Date fromDate, Date toDate);
	List<Object[]> getProcessStatusId ();
	List<Category> getSortedList();
}
